import { createApp } from 'vue'

import App from './App.vue'
import router from './router'

// 导入 pinia
import { createPinia } from 'pinia'

// 导入 vant 组件库
import vant from 'vant'

// 导入 vant 组件库的样式文件
import 'vant/lib/index.css'

// 导入自己的全局样式
import '@/styles/base.scss'

const app = createApp(App)

app.use(router)

// 挂载 vant
app.use(vant)

// 挂载 pinia
app.use(createPinia())

app.mount('#app')
